FIND_PATH(CAFFE_INCLUDE_DIR caffe/caffe.hpp
  "{INCLUDE}"
  "{LIB_DIR}/include"
)

FIND_LIBRARY(CAFFE_LIBRARY NAMES caffe PATHS
  "{LIB}"
  "{LIB_DIR}/lib"
)

IF (CAFFE_INCLUDE_DIR AND CAFFE_LIBRARY)
  SET(CAFFE_FOUND TRUE)
ENDIF()
